package com.tledu.spring.core.constants;

/**
 * @Author: rupert-tears
 * @Date: Created in 22:13 2021/7/2
 * @Description: 优秀的人都在孤独的翻山越岭！
 *
 * 常量池（枚举类）
 */
public class CommonConstants {
    /**
     * AjaxResult 常量集
     */
    public final static String AJAX_RESULT_MSG_SUCCESS = "请求成功";
    public final static String AJAX_RESULT_MSG_FAIL = "请求失败";
    /**
     * layui thymeleaf 整合 前台 [[]] 必须分开书写 且 该成功状态码 必须为零
     */
    public final static Integer AJAX_RESULT_MSG_SUCCESS_CODE = 0;
    public final static Integer AJAX_RESULT_MSG_FAIL_CODE = 300;
    public final static String LOGIN_USER_SESSION_KEY = "loginUser";

}
